OPTN\Admin\RestAdmin B

Total Complexity 87
Dependencies 11
Dependents 1
Total lines 642
Lines of code 485
Logical lines of code 185
Comment lines 50
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
handle_save_post()
A
50 16 23
register_routes()
A
32 1 165
handle_get_archive_pages()
A
48 7 34
shortcode_support()
S
51 7 25
handle_support_ticket()
S
52 7 23
shortcode_content()
S
46 5 39
handle_delete_post()
S
58 6 13
handle_download_assets()
S
45 3 46
handle_get_posts()
S
65 6 7
handle_get_products()
S
46 2 46
handle_get_rule_values()
S
65 5 7
handle_delete_leads()
S
60 4 12
handle_get_leads()
S
70 4 5
handle_update_settings()
S
64 3 8
handle_restore_post()
S
63 3 9
handle_get_rule_options()
S
71 2 5
handle_get_post()
S
71 2 5
__construct()
S
77 1 4
handle_get_templates()
S
80 1 3
handle_get_settings()
S
79 1 3
permission_callback()
S
80 1 3